package com.crm.customers.model;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/**
 * 代办表
	FieldTypeComment
	idbigint(20) NOT NULL
	addressvarchar(500) NULL代办地点
	namevarchar(100) NULL代办人姓名
	accountvarchar(500) NULL代办人帐号
	bankvarchar(100) NULL代办人开户行
	moneyint(11) NULL打款金额
	phonevarchar(20) NULL联系电话
	remarklongtext NULL备注
	approvestateint(11) NULL审批状态
	stateint(11) NULL状态（0草稿1已申请审批）
 * */
public class Commission extends BaseModel {

	private static final long serialVersionUID = 3590686764398353864L;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	private String address; //代办地点
	
	private String name; //代办人姓名
	
	private String account; //代办人帐号
	
	private String bank; //代办人开户行
	
	private String money; //打款金额
	
	private String phone; //联系电话
	
	private String remark; //备注
	
	private int approvestate; //审批状态
	
	private int state; //状态（0草稿1已申请审批）
	
	private List<CommissionCustomer> comcuslist; //代办下人员列表
	
	private List<ApproveItemUser> approveUsers;//审批人列表
	
	private Integer countsign; //计数标记

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getApprovestate() {
		return approvestate;
	}

	public void setApprovestate(int approvestate) {
		this.approvestate = approvestate;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public List<CommissionCustomer> getComcuslist() {
		return comcuslist;
	}

	public void setComcuslist(List<CommissionCustomer> comcuslist) {
		this.comcuslist = comcuslist;
	}

	public List<ApproveItemUser> getApproveUsers() {
		return approveUsers;
	}

	public void setApproveUsers(List<ApproveItemUser> approveUsers) {
		this.approveUsers = approveUsers;
	}

	public Integer getCountsign() {
		return countsign;
	}

	public void setCountsign(Integer countsign) {
		this.countsign = countsign;
	}
	
	
	
	
	
	

	
	
}
